-- GENERATED SPELL FOR [Talonsworn Forest-Rager] --


function spell0_23029(pUnit, Event) --@Thunderclap,Self--
pUnit:FullCastSpellOnTarget(15548,pUnit)
pUnit:RegisterEvent('Sorts_23029', 10272, 1)
end

function Sorts_23029(pUnit, Event)
local choix_sorts_23029 = math.random(0, 0)
if choix_sorts_23029 == 0 then
pUnit:RegisterEvent('spell0_23029', 1, 1)
end
end

function mob23029_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_23029', math.random(1500, 3000), 1)
end

function mob23029_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob23029_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob23029_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(23029, 1, 'mob23029_Action')
RegisterUnitEvent(23029, 2, 'mob23029_Leave')
RegisterUnitEvent(23029, 3, 'mob23029_Kill')
RegisterUnitEvent(23029, 4, 'mob23029_Die')
